Isack Hadjar bounced back from an early crash to secure a hard-fought third place at the Monaco Grand Prix.