Flagship legislation delayed after Tories and cross-benchers in the Lords joined forces to thwart proposals for unfair dismissal