Loeb edges out legend Peterhansel in thrilling Stage Four car duel