Plans to change animal welfare codes abandoned by government