If you use R, you can visualize the MLE manually by plotting the density of the binomial distribution at any given value of the parameter $\pi$, for example in the case of $7$ successes out of $10$ trials (curve in blue on the plot) with this code:
p = seq(0,1,0.0001)
trials= 10
successes = 7
density = dbinom(7, 10, prob=p)
density = (factorial(trials)/(factorial(successes)*factorial(trials-successes))) * p^successes * (1 - p)^(trials-successes)
If now you overlap the plot calculated by multiplying density
times 5
, the same global maximum will be obtained at $0.7$ (in red).
So, notice that as long as $l(\pi)=\pi^{\text{successes}}\,(1-\pi)^{\text{failures}}$ remains untouched, ${\text{trials}}\choose{\text{failures}}$ in front of it would result in exactly the same estimated $\pi$ with a zero first derivative as any other possible constant.