HDFS-5758: must recalculate mask even if there are no named entries after a removeAclEntries, and more tests