Fix pipeline register from IF->ID->EX-MEM