[WIP] loss function name consistency

This is a checkpoint to solve #3481 
Add "squared".