What you did is correct. What serebii was saying is that there's no possible way to manipulate pokerus, macho brace, and exp share so that a pokemon can get 4 EVs without battling.
Whenever a pokemon gets experience, it gets EVs. (unless it has max EVs) So, exp share + pokerus would give 2...