UK takes step closer to Brexit law change