PACNav: Enhancing Collective Navigation for UAV Swarms in Communication-Challenged Environments