Function: removeMilestone(uint256 _milestoneIndex)
This function is used to remove a milestone from the allocation contract.
Inputs
_milestoneIndexControl: Arbitrary.
Constraints: Should be less than the length of the
milestonesarray.Impact: Index of the milestone to remove.
Branches and code coverage
Intended branches
Delete the milestone at the provided index from the
milestonesarray.
Negative behavior
Revert if the caller is not the controller.
Revert if the allocation is already terminated.
Revert if the milestone index is greater than the length of the milestones array.