Fortive to buy software firm Gordian for $775M cash