Theoretical investigation of the hydride migration to coordinated carbon monoxide