The Senedd has voted to restrict meal deals in Wales after a vote on Tuesday.