In a separate action on Tuesday, JPMorgan took another step in resolving its own mortgage-related headaches, agreeing to a $614 million pact with federal prosecutors who accused the nation’s largest bank of violating the rules of the Federal Housing Administration’s mortgage insurance program.