I don't think Miami picking up his 5th year option is a bad move at all
The guy has shown he can be a competent if not solid QB when healthy. Having the 5th year option just buys them another year before making a major commitment. It's similar to the Giants situation. I'm sure they'd love to have had an extra year evaluating Daniel Jones before giving him that monster deal.
And I think the alternative to this would have been Miami just tagging him and having to seriously contemplate giving him a contract bigger than Jones