Hierarchical Lattice Layer for Partially Monotone Neural Networks