Brexit legislation under fire as it enters upper house