Click to see Spoiler:
Miguel tries to convince Maria to end the investigation, and later assures Dexter that he did the right thing in killing Freebo. So it does look like Miguel definitely was intending to kill Freebo himself and Dexter beat him to it