Restricted Lie algebras all whose elements are semisimple