Topical ophthalmic composition to reduce pain