A three-invariant non-associative plasticity model for hard rocks: implicit integration and strain localization analysis