Senator Ted Kennedy, the late president’s brother, strongly supported the bill.