Mobs will become invulnerable when applied with invisibility effect and die when the potion effect time ran out (after being hit multiple times). It can't be killed even by using commands. It will make sideways animation when the mob die (but not actually die).
Reopening as it does in fact differ slightly to MCPE-19041