There is no way Fredo was killed anywhere close to the compound. That would have been foolish. I think Michael dropping his head at the time of the shots was directorial license. No way would he be stupid enough to do it where there could potentially be witnesses.