A softening imperfectly no-tension material model for masonry-like structures