Stability of an aneurysm in a membrane tube filled with an ideal fluid