Matlis' semi-regularity in trivial ring extensions issued from integral domains