Mechanical instabilities of bubble clusters between parallel walls