A House member from upstate New York, Ms. Slaughter championed women’s rights, food safety and the Affordable Care Act.