Prison inmates end hunger strike