Germany’s government and its state premiers have agreed to extend until June 29 social distancing rules used to contain the coronavirus pandemic, a senior government official said.