Under a lawsuit threat, the bank regulator agrees to change its bank capital tests.