Carlos Correa agrees to contract with Twins