Elastic anomalies in BaFe2−xNixAs2 crystals