Free prescriptions and legal aid to end for benefit claimants not seeking work