Move aegis checks and compass target validation out of HUD routines

Fixes bugs requiring compass dial to be displayed in a particular way.