Lords vote to reduce protection for religious groups' staff