Removing redundant invocations of `set -e`