SPARK-4447. Remove layers of abstraction in YARN code no longer needed after dropping yarn-alpha

You forgot to set `registered` to `false`. But this check shouldn't really be necessary since `ApplicationMaster` already has this logic.