Per the feat description, the character is only supposed to summon three shadows. When shadows are currently summoned, resting will not get rid of them and the character is able to use the summon ability again to get a maximum of four shadows. I am also unsure of whether or not the shadow affinity feat affects these summons as well, so perhaps some clarification would help, but this is unrelated to the bug/behavior that is being reported.