Loan and securities issuers will no longer write contracts tied to Libor, the troubled interest rate benchmark tied to trillions of dollars in loans, credit cards and securities: They must switch to alternative benchmarks by the end of 2021.