MiniMax entropy and maximum likelihood: Complementarity of tasks, identity of solutions