Trillion-Sun Flare in Galaxy OJ 287 May Be Caused by Black Hole Merger