Fitzpatrick agrees to $11 million, 2-year deal with Miami