Minimize constraints

This is a first implementation that removes constraints that are satisfied at the partition level from entity checks. Working for FS, needs discussion before implementing for HBase.