Why did Congress pass the 14th Amendment in 1866 (ratified in 1867) and how was it weakened by the Supreme Court by 1877?