Amazon is writing one of the biggest checks in its history to put an ugly fight behind it. The company agreed to pay $2.5 billion to settle Federal Trade Commission allegations that it misled millions of people into signing up for Prime memberships and then made it unnecessarily difficult to cancel. The surprise deal came