A Japanese high court judge is impeached for posting on social media in 2017 messages that were found offensive to the bereaved family of a high school girl murdered two years earlier, marking the first time a judge has been dismissed over the expression of views.