Bring try! into parity with try.

Based on commit 5e51bdda.
Merge pull request #17361 from aripollak/try-bang-parity

Bring try! into parity with try.