in portage-2.0.15 which I have been playing with all day, I find that when I make a change to masking I need to remove /var/cache/edb/xcache.p in order for the masking change to have an effect.
*** This bug has been marked as a duplicate of 5168 ***