The Scottish Parliament has passed regulations to bring in a ban on April 1 of next year, but this will now be changed to June 1.