Court rules Russia ‘failed’ to prevent school carnage