Former All-Star MacDougal signs with Marlins