Role of magnetic dopants in the phase diagram of Sm 1111 pnictides: The case of Mn