I'd take the second one. The 0h54 in EWR is not exactly comfortable, but I would want the most possible buffer at the international connections. And if you miss in EWR you can get rerouted EWR-SFO/LAX-SIN without any difficulty.
You're right however that none of these options are very safe.