Junior bankers who were recently fired from Bank of Montreal’s metals and mining group used work-sharing platforms to circulate crude jokes and at least one obscene image, which were discovered during an internal investigation after another employee complained, according to people with knowledge of the matter.